﻿@using CMSMVC4.Filters
@using CMSMVC4.MultiResource
@model CMSMVC4.Areas.Admin.Models.SupportOnlineModel
@{
    ViewBag.Title = @Admin.AddSupport;
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}
<script type="text/javascript" src="~/Scripts/jquery.validate.min.js"></script>
<script type="text/javascript" src="~/Scripts/jquery.validate.unobtrusive.js"></script>
<div class="row-fluid">
    <div class="span7" style="width: 100%">
        <div class="box paint color_13">
            <div class="title">
                <h4><span>@Admin.AddContact</span> </h4>
            </div>
            <div class="content" style="width: 65%">
                @using (Html.BeginForm("Add", "SupportOnline", FormMethod.Post, new { @class = "form-horizontal cmxform", autocomplete = "off" }))
                {
                    <div class="form-row control-group row-fluid">
                        <label class="control-label span3">@Admin.Name<span class="help-block">@Admin.Name</span> </label>
                        <div class="controls span7">
                            <input type="text" value="" class="span12" name="Name" />
                            @Html.ValidationMessageFor(x => x.Name)
                        </div>
                    </div>
                    <div class="form-row control-group row-fluid">
                        <label class="control-label span3">@Admin.Dis<span class="help-block">@Admin.Dis</span> </label>
                        <div class="controls span7">
                            <input type="text" value="" class="span12" name="Url" />
                            @Html.ValidationMessageFor(x => x.Url)
                        </div>
                    </div>
                    <div class="form-row control-group row-fluid">
                        <label class="control-label span3">Type<span class="help-block">Type</span></label>
                        <div class="controls span7">
                            <select data-placeholder="Choose a Type Support..." class="chzn-select" name="Type">
                                <option value=""></option>
                                <option value="@IntrotductionType.Skype">Skype</option>
                                <option value="@IntrotductionType.Email">Email</option>
                                <option value="@IntrotductionType.Phone">Phone</option>
                                <option value="@IntrotductionType.Yahoo">Yahoo</option>
                            </select>
                            @Html.ValidationMessageFor(x => x.Type)
                        </div>
                    </div>
                    <div class="form-actions row-fluid">
                        <div class="span7 offset3">
                            <button type="submit" class="btn btn-primary">@Admin.SaveChange</button>
                            <button type="button" class="btn btn-secondary">@Admin.Cancel</button>
                        </div>
                    </div>
                }
            </div>
        </div>
    </div>
</div>
